import { Router } from "express";
import userController from "@/controllers/system/user.controller";
import { validateRegister } from "@/validators/system/user.validator";

const router = Router();

/**
 * 注册路由
 * 路径前缀：/register
 */

// ================== 注册相关 ==================
// 注册
router.post('/', validateRegister, userController.register);
// 获取注册配置
router.get('/config', userController.getRegisterConfig); 


export default router;